package com.victor.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.victor.entity.PoiPhoto;
import com.victor.entity.PoiSubmit;
@Mapper
public interface PoiSubmitDao {
    int deleteByPrimaryKey(Integer id);
    /**
     * poi上传
     * @param record
     * @return
     */
    boolean insertSelective(PoiSubmit record);

    PoiSubmit selectByPrimaryKey(Integer id);
    /**
     * 修改
     * @param record
     * @return
     */
    boolean updateByPrimaryKeySelective(PoiSubmit record);
    
    boolean insertPhoto(PoiPhoto poiphoto);
    /**
     * 查询管理员可看的
     * @return
     */
	List<PoiSubmit> selAdminCanLook();
	/**
	 * 查询全部人可看
	 * @return
	 */
	List<PoiSubmit> selAllCanLook();

}